package com.icecola.d5_synchronized_method;

public class ThreadTest {
    public static void main(String[] args) {
        Account acc1 = new Account("ICBC-110",100000);

        new DrawThread("小明",acc1).start(); //小明
        new DrawThread("小红",acc1).start(); //小明

        Account acc2 = new Account("ICBC-111",100000);

        new DrawThread("小黑",acc2).start(); //小明
        new DrawThread("小白",acc2).start(); //小明
    }
}
